#!/usr/bin/env ruby
require 'DictServiceDriver.rb'


module DictService

endpoint_url = ARGV.shift
obj = DictServiceSoap.new(endpoint_url)

# run ruby with -d to see SOAP wiredumps.
obj.wiredump_dev = STDERR if $DEBUG

# SYNOPSIS
#   ServerInfo(parameters)
#
# ARGS
#   parameters      ServerInfo - {http://services.aonaware.com/webservices/}ServerInfo
#
# RETURNS
#   parameters      ServerInfoResponse - {http://services.aonaware.com/webservices/}ServerInfoResponse
#
parameters = nil
puts obj.serverInfo(parameters)

# SYNOPSIS
#   DictionaryList(parameters)
#
# ARGS
#   parameters      DictionaryList - {http://services.aonaware.com/webservices/}DictionaryList
#
# RETURNS
#   parameters      DictionaryListResponse - {http://services.aonaware.com/webservices/}DictionaryListResponse
#
parameters = nil
puts obj.dictionaryList(parameters)

# SYNOPSIS
#   DictionaryListExtended(parameters)
#
# ARGS
#   parameters      DictionaryListExtended - {http://services.aonaware.com/webservices/}DictionaryListExtended
#
# RETURNS
#   parameters      DictionaryListExtendedResponse - {http://services.aonaware.com/webservices/}DictionaryListExtendedResponse
#
parameters = nil
puts obj.dictionaryListExtended(parameters)

# SYNOPSIS
#   DictionaryInfo(parameters)
#
# ARGS
#   parameters      DictionaryInfo - {http://services.aonaware.com/webservices/}DictionaryInfo
#
# RETURNS
#   parameters      DictionaryInfoResponse - {http://services.aonaware.com/webservices/}DictionaryInfoResponse
#
parameters = nil
puts obj.dictionaryInfo(parameters)

# SYNOPSIS
#   Define(parameters)
#
# ARGS
#   parameters      Define - {http://services.aonaware.com/webservices/}Define
#
# RETURNS
#   parameters      DefineResponse - {http://services.aonaware.com/webservices/}DefineResponse
#
parameters = nil
puts obj.define(parameters)

# SYNOPSIS
#   DefineInDict(parameters)
#
# ARGS
#   parameters      DefineInDict - {http://services.aonaware.com/webservices/}DefineInDict
#
# RETURNS
#   parameters      DefineInDictResponse - {http://services.aonaware.com/webservices/}DefineInDictResponse
#
parameters = nil
puts obj.defineInDict(parameters)

# SYNOPSIS
#   StrategyList(parameters)
#
# ARGS
#   parameters      StrategyList - {http://services.aonaware.com/webservices/}StrategyList
#
# RETURNS
#   parameters      StrategyListResponse - {http://services.aonaware.com/webservices/}StrategyListResponse
#
parameters = nil
puts obj.strategyList(parameters)

# SYNOPSIS
#   Match(parameters)
#
# ARGS
#   parameters      Match - {http://services.aonaware.com/webservices/}Match
#
# RETURNS
#   parameters      MatchResponse - {http://services.aonaware.com/webservices/}MatchResponse
#
parameters = nil
puts obj.match(parameters)

# SYNOPSIS
#   MatchInDict(parameters)
#
# ARGS
#   parameters      MatchInDict - {http://services.aonaware.com/webservices/}MatchInDict
#
# RETURNS
#   parameters      MatchInDictResponse - {http://services.aonaware.com/webservices/}MatchInDictResponse
#
parameters = nil
puts obj.matchInDict(parameters)


endpoint_url = ARGV.shift
obj = DictServiceSoap.new(endpoint_url)

# run ruby with -d to see SOAP wiredumps.
obj.wiredump_dev = STDERR if $DEBUG

# SYNOPSIS
#   ServerInfo(parameters)
#
# ARGS
#   parameters      ServerInfo - {http://services.aonaware.com/webservices/}ServerInfo
#
# RETURNS
#   parameters      ServerInfoResponse - {http://services.aonaware.com/webservices/}ServerInfoResponse
#
parameters = nil
puts obj.serverInfo(parameters)

# SYNOPSIS
#   DictionaryList(parameters)
#
# ARGS
#   parameters      DictionaryList - {http://services.aonaware.com/webservices/}DictionaryList
#
# RETURNS
#   parameters      DictionaryListResponse - {http://services.aonaware.com/webservices/}DictionaryListResponse
#
parameters = nil
puts obj.dictionaryList(parameters)

# SYNOPSIS
#   DictionaryListExtended(parameters)
#
# ARGS
#   parameters      DictionaryListExtended - {http://services.aonaware.com/webservices/}DictionaryListExtended
#
# RETURNS
#   parameters      DictionaryListExtendedResponse - {http://services.aonaware.com/webservices/}DictionaryListExtendedResponse
#
parameters = nil
puts obj.dictionaryListExtended(parameters)

# SYNOPSIS
#   DictionaryInfo(parameters)
#
# ARGS
#   parameters      DictionaryInfo - {http://services.aonaware.com/webservices/}DictionaryInfo
#
# RETURNS
#   parameters      DictionaryInfoResponse - {http://services.aonaware.com/webservices/}DictionaryInfoResponse
#
parameters = nil
puts obj.dictionaryInfo(parameters)

# SYNOPSIS
#   Define(parameters)
#
# ARGS
#   parameters      Define - {http://services.aonaware.com/webservices/}Define
#
# RETURNS
#   parameters      DefineResponse - {http://services.aonaware.com/webservices/}DefineResponse
#
parameters = nil
puts obj.define(parameters)

# SYNOPSIS
#   DefineInDict(parameters)
#
# ARGS
#   parameters      DefineInDict - {http://services.aonaware.com/webservices/}DefineInDict
#
# RETURNS
#   parameters      DefineInDictResponse - {http://services.aonaware.com/webservices/}DefineInDictResponse
#
parameters = nil
puts obj.defineInDict(parameters)

# SYNOPSIS
#   StrategyList(parameters)
#
# ARGS
#   parameters      StrategyList - {http://services.aonaware.com/webservices/}StrategyList
#
# RETURNS
#   parameters      StrategyListResponse - {http://services.aonaware.com/webservices/}StrategyListResponse
#
parameters = nil
puts obj.strategyList(parameters)

# SYNOPSIS
#   Match(parameters)
#
# ARGS
#   parameters      Match - {http://services.aonaware.com/webservices/}Match
#
# RETURNS
#   parameters      MatchResponse - {http://services.aonaware.com/webservices/}MatchResponse
#
parameters = nil
puts obj.match(parameters)

# SYNOPSIS
#   MatchInDict(parameters)
#
# ARGS
#   parameters      MatchInDict - {http://services.aonaware.com/webservices/}MatchInDict
#
# RETURNS
#   parameters      MatchInDictResponse - {http://services.aonaware.com/webservices/}MatchInDictResponse
#
parameters = nil
puts obj.matchInDict(parameters)


endpoint_url = ARGV.shift
obj = DictServiceHttpGet.new(endpoint_url)

# run ruby with -d to see SOAP wiredumps.
obj.wiredump_dev = STDERR if $DEBUG

# SYNOPSIS
#   ServerInfo
#
# ARGS
#   N/A
#
# RETURNS
#   body            C_String - {http://www.w3.org/2001/XMLSchema}string
#

puts obj.serverInfo

# SYNOPSIS
#   DictionaryList
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfDictionary - {http://services.aonaware.com/webservices/}ArrayOfDictionary
#

puts obj.dictionaryList

# SYNOPSIS
#   DictionaryListExtended
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfDictionary - {http://services.aonaware.com/webservices/}ArrayOfDictionary
#

puts obj.dictionaryListExtended

# SYNOPSIS
#   DictionaryInfo(dictId)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            C_String - {http://www.w3.org/2001/XMLSchema}string
#
dictId = nil
puts obj.dictionaryInfo(dictId)

# SYNOPSIS
#   Define(word)
#
# ARGS
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            WordDefinition - {http://services.aonaware.com/webservices/}WordDefinition
#
word = nil
puts obj.define(word)

# SYNOPSIS
#   DefineInDict(dictId, word)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            WordDefinition - {http://services.aonaware.com/webservices/}WordDefinition
#
dictId = word = nil
puts obj.defineInDict(dictId, word)

# SYNOPSIS
#   StrategyList
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfStrategy - {http://services.aonaware.com/webservices/}ArrayOfStrategy
#

puts obj.strategyList

# SYNOPSIS
#   Match(word, strategy)
#
# ARGS
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#   strategy        C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            ArrayOfDictionaryWord - {http://services.aonaware.com/webservices/}ArrayOfDictionaryWord
#
word = strategy = nil
puts obj.match(word, strategy)

# SYNOPSIS
#   MatchInDict(dictId, word, strategy)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#   strategy        C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            ArrayOfDictionaryWord - {http://services.aonaware.com/webservices/}ArrayOfDictionaryWord
#
dictId = word = strategy = nil
puts obj.matchInDict(dictId, word, strategy)


endpoint_url = ARGV.shift
obj = DictServiceHttpPost.new(endpoint_url)

# run ruby with -d to see SOAP wiredumps.
obj.wiredump_dev = STDERR if $DEBUG

# SYNOPSIS
#   ServerInfo
#
# ARGS
#   N/A
#
# RETURNS
#   body            C_String - {http://www.w3.org/2001/XMLSchema}string
#

puts obj.serverInfo

# SYNOPSIS
#   DictionaryList
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfDictionary - {http://services.aonaware.com/webservices/}ArrayOfDictionary
#

puts obj.dictionaryList

# SYNOPSIS
#   DictionaryListExtended
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfDictionary - {http://services.aonaware.com/webservices/}ArrayOfDictionary
#

puts obj.dictionaryListExtended

# SYNOPSIS
#   DictionaryInfo(dictId)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            C_String - {http://www.w3.org/2001/XMLSchema}string
#
dictId = nil
puts obj.dictionaryInfo(dictId)

# SYNOPSIS
#   Define(word)
#
# ARGS
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            WordDefinition - {http://services.aonaware.com/webservices/}WordDefinition
#
word = nil
puts obj.define(word)

# SYNOPSIS
#   DefineInDict(dictId, word)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            WordDefinition - {http://services.aonaware.com/webservices/}WordDefinition
#
dictId = word = nil
puts obj.defineInDict(dictId, word)

# SYNOPSIS
#   StrategyList
#
# ARGS
#   N/A
#
# RETURNS
#   body            ArrayOfStrategy - {http://services.aonaware.com/webservices/}ArrayOfStrategy
#

puts obj.strategyList

# SYNOPSIS
#   Match(word, strategy)
#
# ARGS
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#   strategy        C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            ArrayOfDictionaryWord - {http://services.aonaware.com/webservices/}ArrayOfDictionaryWord
#
word = strategy = nil
puts obj.match(word, strategy)

# SYNOPSIS
#   MatchInDict(dictId, word, strategy)
#
# ARGS
#   dictId          C_String - {http://www.w3.org/2001/XMLSchema}string
#   word            C_String - {http://www.w3.org/2001/XMLSchema}string
#   strategy        C_String - {http://www.w3.org/2001/XMLSchema}string
#
# RETURNS
#   body            ArrayOfDictionaryWord - {http://services.aonaware.com/webservices/}ArrayOfDictionaryWord
#
dictId = word = strategy = nil
puts obj.matchInDict(dictId, word, strategy)




end
